#!/usr/bin/python

import os
import sys

import mcastcmd

MCAST_PORT = 55555
MCAST_GRP  = "224.1.1.1"

s = mcastcmd.mcastRecvSock(MCAST_GRP, MCAST_PORT)
while True:
	data, addr = s.recvfrom(1024)
	print "addr [", addr, "] send data = %s" % data
